# -*- coding: utf-8 -*-
# Copyright (C) 2020, 2021 GNUnet e.V.
# SPDX-License-Identifier: FSFAP
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.
#
# For compatibility with C GNUnet, it is important that the default UNIXPATH,
# GNUNET_RUNTIME_DIR and GNUNET_USER_RUNTIME_DIR is the same.

[dht]
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-dht.sock
[nse]
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-nse.sock

[PATHS]
# Directory for UNIX domain sockets of system-wide services.
GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/
# Likewise, for per-user services
GNUNET_USER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-${USERHOME:-${USER:-user}}-runtime/
